const { defineConfig } = require('@vue/cli-service')

module.exports = {
  transpileDependencies: ['uview-ui'],
  configureWebpack: {
    resolve: {
      alias: {
        '@': require('path').resolve(__dirname, './')
      }
    }
  },
  css: {
    loaderOptions: {
      scss: {
        prependData: `@import "@/uni.scss";`
      }
    }
  }
} 